<?php

namespace backend\assets;

use yii\web\AssetBundle;
use yii\web\View;

/**
 * Main backend application asset bundle.
 */
class AppAsset extends AssetBundle
{
    public $basePath = '@webroot';
    public $baseUrl = '@web';


    public $css = [
        // Bootstrap 3.3.7 -->
        'bower_components/bootstrap/dist/css/bootstrap.min.css',
        // Font Awesome -->
        'bower_components/font-awesome/css/font-awesome.min.css',
        // Ionicons -->
        'bower_components/Ionicons/css/ionicons.min.css',
        // Morris chart -->
        'bower_components/morris.js/morris.css',
        // jvectormap -->
        'bower_components/jvectormap/jquery-jvectormap.css',
        // Date Picker -->
        'bower_components/bootstrap-datepicker/dist/css/bootstrap-datepicker.min.css',
        // Daterange picker -->
        'bower_components/bootstrap-daterangepicker/daterangepicker.css',
        // bootstrap wysihtml5 - text editor -->
        'plugins/bootstrap-wysihtml5/bootstrap3-wysihtml5.min.css',
        // select 2-->
        'bower_components/select2/dist/css/select2.css',
        // Theme style -->
        'admin/css/AdminLTE.min.css',
        // AdminLTE Skins. Choose a skin from the css/skins
        'admin/css/skins/_all-skins.min.css',
        // Google Font -->
        'https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,600,700,300italic,400italic,600italic',
    ];
    public $js = [
        // jQuery 3 -->
        'bower_components/jquery/dist/jquery.min.js',
// jQuery UI 1.11.4 -->
        'bower_components/jquery-ui/jquery-ui.min.js',
// Resolve conflict in jQuery UI tooltip with Bootstrap tooltip -->

// Bootstrap 3.3.7 -->
        'bower_components/bootstrap/dist/js/bootstrap.min.js',
// Morris.js charts -->
        'bower_components/raphael/raphael.min.js',
        'bower_components/morris.js/morris.min.js',
// Sparkline -->
        'bower_components/jquery-sparkline/dist/jquery.sparkline.min.js',
// jvectormap -->
        'plugins/jvectormap/jquery-jvectormap-1.2.2.min.js',
        'plugins/jvectormap/jquery-jvectormap-world-mill-en.js',
// jQuery Knob Chart -->
        'bower_components/jquery-knob/dist/jquery.knob.min.js',
// daterangepicker -->
        'bower_components/moment/min/moment.min.js',
        'bower_components/bootstrap-daterangepicker/daterangepicker.js',
// datepicker -->
        'bower_components/bootstrap-datepicker/dist/js/bootstrap-datepicker.min.js',
// Bootstrap WYSIHTML5 -->
        'plugins/bootstrap-wysihtml5/bootstrap3-wysihtml5.all.min.js',
// Slimscroll -->
        'bower_components/jquery-slimscroll/jquery.slimscroll.min.js',
// FastClick -->
        'bower_components/fastclick/lib/fastclick.js',
        // select 2-->
        'bower_components/select2/dist/js/select2.min.js',
// AdminLTE App -->
        'admin/js/adminlte.min.js',
// AdminLTE dashboard demo (This is only for demo purposes) -->
//        'admin/js/pages/dashboard.js',
// AdminLTE for demo purposes -->
//        'admin/js/demo.js',
    ];
    public $depends = [
//        'yii\web\YiiAsset',
//        'yii\bootstrap\BootstrapAsset',
//        'rmrevin\yii\fontawesome\AssetBundle',
//        'yii\bootstrap\BootstrapPluginAsset',
    ];
    public $jsOptions = [
        'position' => View::POS_HEAD,
    ];


}
